package cn.cy.structure.bridge.general;

/**
 * @author yangxq
 * @desc
 * @date 2025-05-12
 */
public class GeneralClient {

    public static void main(String[] args) {
        TV samsungTV = new TV("Samsung");
        SoundSystem sonySoundSystem = new SoundSystem("Sony");

        RemoteControl remoteControl = new RemoteControl(samsungTV, sonySoundSystem);
        remoteControl.controlTV();
        remoteControl.controlSoundSystem();
    }

}
